package com.xwb;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class test {
    public static void main(String[] args) {
        LocalDateTime dateTime = LocalDateTime.now(); // 获取当前日期和时间
        System.out.println("Current date and time: " + dateTime);
    }
}
